package com.youlian.cloud.core.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 单个对象处理
 * @author liuhx
 * @create 2019/07/29 15:35
 * @email liuhx@elab-plus.com
 **/
@ApiModel("单个对象处理")
public class ObjectResponseModel<T> extends ResponseCommonModel {
    @ApiModelProperty(
            name = "single",
            value = "单个对象参数"
    )
    private T single;

    public ObjectResponseModel() {
    }

    public T getSingle() {
        return this.single;
    }

    public void setSingle(T single) {
        this.single = single;
    }
}
